//
//  criarGastoViewController.h
//  ViagemBem
//
//  Created by Rodrigo Morbach on 07/11/13.
//  Copyright (c) 2013 Michel de Sousa Carvalho. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Viagem.h"
#import "TipoGastoDAO.h"
#import "GastoDAO.h"
#import "ChooseObjectDBViewController.h"

@interface criarGastoViewController : UIViewController <ChooseObjectDBViewControllerDelegate, UITextFieldDelegate>

@property Viagem* viagem;

@property(nonatomic, strong) NSArray* tiposGasto;
@property (weak, nonatomic) IBOutlet UIButton *btnSalvar;
@property (weak, nonatomic) IBOutlet UITextField *textPraQuem;
@property (weak, nonatomic) IBOutlet UITextField *textObjeto;
@property (weak, nonatomic) IBOutlet UITextField *textLugar;
@property (weak, nonatomic) IBOutlet UITextField *textValor;

@property (strong, nonatomic) NSMutableArray *settings;

@end
